package day02
/**
 *  具体打印的打印的结果为:  this is do-while loop: 0
 *  do..while 循环是先执行，再判断
 */
object DoWhileTest {
  def main(args: Array[String]): Unit = {
     var b:Int = 0

    do{
      println("this is do-while loop: " + b)
      b-=1
    }while(b > 0)
  }
}
